<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<?php
include "../myfunction.php";
    $bb= new myfunction;
print_r($_FILES);var_dump($_FILES);
if (@$_FILES["file"]["error"] > 0) 
{ 
  echo "Error: " . @$_FILES["file"]["error"] . "<br />"; 
} 
else 
{ 


$filename = @$_FILES["file"]["name"];
$filetmp = @$_FILES['file']['tmp_name'];
var_dump($filename);var_dump($filetmp);
$pic = $bb->uploaduserpic($filename, $filetmp);

}
?>

</body>
</html>